﻿using System;
using Assisticant.Fields;
using UGD.Models;

namespace UGD.ViewModels
{
    public class DutyViewModel
    {
        private readonly Duty _duty;

        private Observable<TimeSpan> _timeSpan = new Observable<TimeSpan>(TimeSpan.FromMinutes(15));
        private Observable<int> _scale = new Observable<int>(10);
        public DutyViewModel(Duty duty)
        {
            _duty = duty;
        }


        public DateTime Start
        {
            get
            {
                return _duty.Start;
            }
            set
            {
                _duty.Start = value;
            }
        }

        public DateTime End
        {
            get
            {
                return _duty.End;
            }
            set
            {
                _duty.End = value;
            }
        }



    }


}

